<%@page import="entity.Student"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>student_update</title>
</head>
<body>
	${student}
	<%
		Student student = (Student)request.getAttribute("student");
	%>
	<form action="<%=request.getContextPath()%>/student?method=update"
		method="post">
		<input type="hidden" name="student_id" value="<%=student.getStudent_id()%>" />
		姓名 ：<input type="text" name="student_name" value="<%=student.getStudent_name()%>" /><br />
		年龄 ：<input type="text" name="student_age" value="<%=student.getStudent_age()%>" /><br />
		性别 ：<input type="text" name="gender" value="<%=student.getGender()%>" /><br />
		班级 ：<input type="text" name="class_id" value = "<%=student.getClass_id() %>"/><br />
			 <input type="submit" value="修改" />
	</form>

</body>
</html>